from Crypto.PublicKey import RSA
from FlowAnalyzer import FlowAnalyzer
import base64



def 数据获取(file_name):
    jsonpath = FlowAnalyzer.get_json_data(file_name,display_filter='http.request.method == POST or http.response')
    for count, http in enumerate(FlowAnalyzer(jsonpath).generate_http_dict_pairs(), start=1):
        request, response = http.request, http.response
        if 
        if request.file_data:
            字符串 = base64.b64decode(request.file_data.decode())
            字符串列表 = 字符串.decode().split('|')
            for 字符串 in 字符串列表:



if "__main__" == __name__:

    file_name = 'C:/Users/wadd/Desktop/公钥.pem'
    数据获取(file_name)
